package vip.kqsy.cloud.blog.server.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class BlogInfoUpdateDTO {

    @ApiModelProperty(value = "博客ID", required = true)
    @NotNull
    private Long id;

    @ApiModelProperty(value = "标题", required = true)
    @NotBlank
    private String title;

    @ApiModelProperty(value = "内容", required = true)
    @NotBlank
    private String content;
}
